Skip to content

Update light.mqtt documentation for color_temp#1673

Closed
jonfink wants to merge 1 commit into
home-assistant:nextfrom
jonfink:mqtt_color_temp_patch
Closed

Update light.mqtt documentation for color_temp#1673
jonfink wants to merge 1 commit into
home-assistant:nextfrom
jonfink:mqtt_color_temp_patch

Conversation

@jonfink
Copy link
Copy Markdown

@jonfink jonfink commented Dec 29, 2016

Description:

Add command template for setting color temperature of mqtt light component.

Pull request in home-assistant (if applicable):

home-assistant/core#5105

@mention-bot
Copy link
Copy Markdown

@jonfink, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @balloob and @alterscape to be potential reviewers.

color_temp_state_topic: 'office/light/colorTemperature'
color_temp_command_topic: 'office/light/colorTemperature/set'
# To convert from a light with Kelvin to HA-default Mired
color_temp_value_template: '{{ 1000000.0 / value_json }}'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Templates must be embedded with {% raw %}...{% endraw %}.

@Landrash Landrash added the new-feature This PR adds documentation for a new Home Assistant feature to an existing integration label Jan 23, 2017
@fabaff
Copy link
Copy Markdown
Member

fabaff commented Feb 13, 2017

The Pull request in the main repository was closed. Please re-open this PR if your changes are ready to merge.

@fabaff fabaff closed this Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature This PR adds documentation for a new Home Assistant feature to an existing integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants